Android Notes
Table of Contents
Open Settings with adb
Using am
adb shell am start -a android.settings.SETTINGS
Record the Screen on an Android Device
Starting the Recording
adb shell screenrecord /sdcard/<MY_VIDEO>.mp4
Pulling the Recording
adb pull /sdcard/<MY_VIDEO>.mp4
Take a Screenshot of an Attached Android Device
adb exec-out screencap -p > <SCREENSHOT_NAME>.png
View Partition Information
adb shell cat /proc/partitions
Make System Partition Re-writable
adb root adb remount
Stop a Running App
- sisik: Killing Current Foreground App with ADB
adb shell am force-stop my.package.appname